package com.warm.mybatis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@TableName(value = "base_role")
@Data
public class BaseRoleEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer code;

    private String name;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
